package com.group4.datafactorybackend.entity.DTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author 卑微小峰
 * @date 2022/8/12
 * @description 批量分类接收参数实体类 TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BatchClassifyDTO {

    /**
     * 移动到的目录编号
     */
    @NotBlank(message = "目录编号不能为空")
    private String directoryCode;

    /**
     * 需要批量改变目录的接口编号集合
     */
    @NotEmpty(message = "接口编号不能为空")
    private List<String> apiCodeList;
}
